<%-- 
    Document   : register
    Created on : 22 Apr 10, 0:16:49
    Author     : Jiwandono
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Login</title>
        <link rel="stylesheet" href="includes/css/resetter.css" type="text/css"/>
        <link rel="stylesheet" href="includes/css/ichat.css" type="text/css"/>
    </head>
    <body>
        <div id="wrap">
            <div id="top"></div>
            <div class="container">
                <div style="width: 100%"><img src="includes/img/logo.png" alt="ichat"/></div>
            </div>
                <div id="block" style="margin-top: 200px; text-align: left ">
                    Registrasi dan Login
                    <form action="registerServlet" method="post">
                        <input type="text" name="login_username" value="username" onFocus="if(this.value=='username')this.value=''" onBlur="if(this.value=='')this.value='username'"/>
                        <input type="text" name="login_fullname" value="fullname" onFocus="if(this.value=='fullname')this.value=''" onBlur="if(this.value=='')this.value='fullname'"/>
                        <select name="login_prodi">
                            <% out.print(request.getAttribute("user").toString()); %>
                        </select>
                        <input type="text" name="login_email" value="email" onFocus="if(this.value=='email')this.value=''" onBlur="if(this.value=='')this.value='email'"/>
                        <input type="password" name="login_password" value="password" onFocus="if(this.value=='password')this.value=''" onBlur="if(this.value=='')this.value='password'" />
                        <button type="submit">Daftar</button>
                    </form>
                </div>
        </div>
        <div id="footer">
	<div class="container">
		<span class="highlight-color">Copyright &copy; 2010 Informatika ITB</span>
	</div>
        </div>
    </body>
</html>
